package com.niodata.dp.task.entity;

import com.niodata.dp.task.log.LogType;
import java.sql.Timestamp;


public class JobLogMapping {

  private int id;
  private String taskName;
  private String jobName;
  private String execId;
  private String yarnAppId;
  private String yarnAttemptId;
  private String logDir;
  private String hostAddr;
  private String hostName;
  private LogType logType;
  private Timestamp createTime;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getTaskName() {
    return taskName;
  }

  public void setTaskName(String taskName) {
    this.taskName = taskName;
  }

  public String getJobName() {
    return jobName;
  }

  public void setJobName(String jobName) {
    this.jobName = jobName;
  }

  public String getExecId() {
    return execId;
  }

  public void setExecId(String execId) {
    this.execId = execId;
  }

  public String getYarnAppId() {
    return yarnAppId;
  }

  public void setYarnAppId(String yarnAppId) {
    this.yarnAppId = yarnAppId;
  }

  public String getYarnAttemptId() {
    return yarnAttemptId;
  }

  public void setYarnAttemptId(String yarnAttemptId) {
    this.yarnAttemptId = yarnAttemptId;
  }

  public String getLogDir() {
    return logDir;
  }

  public void setLogDir(String logDir) {
    this.logDir = logDir;
  }

  public String getHostAddr() {
    return hostAddr;
  }

  public void setHostAddr(String hostAddr) {
    this.hostAddr = hostAddr;
  }

  public String getHostName() {
    return hostName;
  }

  public void setHostName(String hostName) {
    this.hostName = hostName;
  }

  public LogType getLogType() {
    return logType;
  }

  public void setLogType(LogType logType) {
    this.logType = logType;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }
}
